package cn.cq.admin.service;

import cn.cq.admin.entity.dto.CoursewareDto;
import cn.cq.admin.entity.model.Courseware;
import cn.cq.admin.entity.vo.CoursewareVo;
import cn.cq.admin.entity.vo.TreeVo;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;

/**
* @author  dicraft
* @description 针对表【courseware】的数据库操作Service
* @createDate 2022-10-03 14:30:44
*/
public interface CoursewareService extends IService<Courseware> {

    Page<CoursewareVo> doList(CoursewareDto coursewareDto);

    void doSave(Courseware courseware);

    void doRemove(List<Long> ids);

    void doModify(Courseware courseware);

    List<TreeVo> doListCourseAndWareByUserId();
}
